.quick-functions {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.quick-functions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.quick-functions-title {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.quick-functions-more {
  font-size: 10px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.quick-functions-more:hover {
  color: #FF6B35;
}

.quick-functions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.quick-function-card {
  background: white;
  border-radius: 6px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #e8e9ea;
  position: relative;
  overflow: hidden;
}

.quick-function-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--function-color);
}

.quick-function-card.active {
  background: linear-gradient(135deg, var(--function-color) 0%, rgba(255, 107, 53, 0.1) 100%);
  border-color: var(--function-color);
}

.quick-function-card.active .function-name {
  color: var(--function-color);
  font-weight: bold;
}

.function-icon {
  font-size: 14px;
  margin-bottom: 2px;
  display: block;
  transition: transform 0.3s ease;
}

.quick-function-card:hover .function-icon {
  transform: scale(1.1);
}

.function-name {
  font-size: 10px;
  color: #555;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .quick-functions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .quick-function-card {
    padding: 6px 4px;
  }
  
  .function-icon {
    font-size: 12px;
  }
  
  .function-name {
    font-size: 9px;
  }
}

/* 动画效果 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.quick-function-card:active {
  animation: pulse 0.2s ease-in-out;
}

/* 特殊效果 */
.quick-function-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.quick-function-card:hover::before {
  left: 100%;
}

/* 设置功能特殊样式 */
.quick-function-card[data-function="settings"]:hover {
  background: linear-gradient(135deg, #FF6B35 0%, rgba(255, 107, 53, 0.1) 100%);
}

/* 帮助功能特殊样式 */
.quick-function-card[data-function="help"]:hover {
  background: linear-gradient(135deg, #FF6B35 0%, rgba(255, 107, 53, 0.1) 100%);
}

/* 客服功能特殊样式 */
.quick-function-card[data-function="service"]:hover {
  background: linear-gradient(135deg, #FF69B4 0%, rgba(255, 105, 180, 0.1) 100%);
}

/* 收藏功能特殊样式 */
.quick-function-card[data-function="favorites"]:hover {
  background: linear-gradient(135deg, #FFD700 0%, rgba(255, 215, 0, 0.1) 100%);
}
